package com.liushao.service;

import com.liushao.entity.UserAccount;
import com.baomidou.mybatisplus.extension.service.IService;

import java.math.BigDecimal;
import java.util.Map;

/**
 * <p>
 * 用户账户 服务类
 * </p>
 *
 * @author chen
 * @since 2025-01-03
 */
public interface UserAccountService extends IService<UserAccount> {

    public String commitCharge(BigDecimal chargeAmt, Long userId);

    public  void notifyss(Map<String, Object> objectMap);

   public BigDecimal getAccountById(Long userId);

    public String commitWithdraw(BigDecimal fetchAmt, Long userId);

    public void notifysssss(Map<String, Object> objectMap);
}
